{include file = $admin_header1}
{include file = $admin_header2}
{include file = $admin_leftsidebar}

<div class="middel_panel">
<h1 class="type2">Admin Users</h1>
		
<div class="breadcrumb"><!--<a href="{$siteroot}/admin/index.php">Home</a>&nbsp;&gt;&nbsp;-->Manage Admin 
<div class="holdthisTop">
  <form name="frmSearch" action="" method="get">
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>		
        <td align="right">&nbsp;</td>
      </tr>
    </table>
  </form>
</div>

<table cellpadding="6" cellspacing="2" align="center" width="100%" border="0">
  <tr><td  colspan="1" width="70%" align="left">&nbsp;</td></tr>
	
</table>
     <div id="Managesecurity1Div"></div>
                  <!--main content ends -->
</div>
<div class="holdthisTop">
<form name="frmAction" id="frmAction" method="post" action="">
   <table cellpadding="2" cellspacing="2" align="center" width="100%" border="0" class="datagrid">
		 <tr class="headbg"> 
<th width="20%"><a href="{$site_path}/admin/user/list/sorttype/name/sortord/{$hidden_user_sort_by}/{if $smarty.get.searchuser neq ''}searchuser/{$smarty.get.searchuser}{/if}"> User Name </a></th>
<th width="20%"><a href="{$site_path}/admin/user/manageadmin.php?sorttype=Email&amp;sortord={$hidden_user_sort_by}{if $smarty.get.searchuser neq ''}&amp;searchuser={$smarty.get.searchuser}{/if}"> Email Address</a></th>
<th width="20%"><a href="{$site_path}/admin/user/manageadmin.php?sorttype=Country&amp;sortord={$hidden_user_sort_by}{if $smarty.get.searchuser neq ''}&amp;searchuser={$smarty.get.searchuser}{/if}"> Country</a></th>
<th width="20%"><a href="{$site_path}/admin/user/manageadmin.php?sorttype=Signup&amp;sortord={$hidden_user_sort_by}{if $smarty.get.searchuser neq ''}&amp;searchuser={$smarty.get.searchuser}{/if}"> Signup</a></th>
     

        		<th width="20%" align="center">Action</th>
      </tr>
	  	{if 0 lt $users|@count}
         {foreach item=user from=$users}

      <tr class="grayback" id="tr_{$smarty.section.i.iteration}">
            <td align="left">{$user->getFirstName()} {$user->getLastName()}</td>
				 <td align="left" width="34">{$user->getEmail()}</td>
				<td align="left" width="34">{$user->getCountryId()}</td>
				<td align="left" width="34">{$user->getSignupDate()|date_format:"%Y-%m-%d"}</td>
			   <td align="center" width="10%"><img src="{$site_images_path}/icons/application_edit.png" align="top"  alt="edit"/> <a href="{$site_path}/admin/user/edit/id/{$user->getId()}"
	 class="frmtxt">Edit</a> | <img src="{$site_images_path}/icons/film.png" align="top" alt="view" /> <a href="{$site_path}/admin/user/view/id/{$user->getId()}" class="frmtxt">View</a>  </td>
     </tr>
          {/foreach}
		{else}
     <tr align="center" class="trbgprj02">
            <td colspan="7"><b> No Records Found.</b></td>
     </tr>
          {/if}
    </table>
<div align="right">{$pgnation}</div>
      </form>
</div>

                  <!--content ends -->
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      </div>
    </div>
    <!--Banner ends -->
  </div>
  </div>
  <!--content area ends -->

{include file = $admin_footer}